package com.byku.entity;

import java.util.List;
/*
 * 用户类
 */

public class User {
	private long id;
	private String name;
	private String pwd;
	private Role role;
	private List<Message> send;
	private List<Message> rereceive;
	public List<Message> getRereceive() {
		return rereceive;
	}
	public void setRereceive(List<Message> rereceive) {
		this.rereceive = rereceive;
	}
	public List<Message> getSend() {
		return send;
	}
	public void setSend(List<Message> send) {
		this.send = send;
	}
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPwd() {
		return pwd;
	}
	public void setPwd(String pwd) {
		this.pwd = pwd;
	}
	public Role getRole() {
		return role;
	}
	public void setRole(Role role) {
		this.role = role;
	}
	
}
